UPDATE c1_permission_org SET END_DATE = NOW() WHERE INSTR(:ids, ID) > 0